﻿using System;

namespace HML
{
    /// <summary>
    /// GifBox图片帧的索引更改事件参数
    /// </summary>
    public class GifBoxFrameIndexChangedEventArgs : EventArgs
    {
        private readonly int currentFrameIndex;
        /// <summary>
        /// 当前帧的索引
        /// </summary>
        public int CurrentFrameIndex
        {
            get { return this.currentFrameIndex; }
        }

        public GifBoxFrameIndexChangedEventArgs(int currentFrameIndex)
        {
            this.currentFrameIndex = currentFrameIndex;
        }
    }
}
